<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use App\Admin\Extensions\Traits\ModelTree;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class Video extends Model
{
    use HasFactory;
    
    protected $guarded = ['id'];
    
   
     public function blogger()
    {
        return $this->belongsTo(Blogger::class);
    }

    public function getTableName() {
        return $this->getTable();
    }
}
